/**
 * 字典表假数据文件
 * - @author          狄兆璐
 * - @date        2018-07-03
 * - @updater          
 * - @update_date      
 * - @update_info      
 */

// 房源列表搜索条件
export const houseList = [
  { name: '小区名称', key: 'estateName' },
  { name: '房源编号', key: 'houseCode' },
  { name: '楼牌号', key: 'houseNum' },
  // { name: '房主姓名', key: 'houseOwnerName' },
  // { name: '手机号', key: 'phoneNum' },
  // { name: '推送人', key: 'operatorId' }
];
// 客源列表搜索条件
export const customerList = [
  { name: '需求编号', key: 'customerCode' },
  { name: '需求区域', key: 'customerRegion' }
  // { name: '客户姓名', key: 'customerName' },
  // { name: '手机号', key: 'phoneNum' },
  // { name: '推送人', key: 'operatorId' }
];
// 通话列表搜索条件
export const phoneList = [
  { name: '姓    名', key: '' },
  { name: '编    号', key: '' }
]
// 房客源详情tab
export const detailTab = [
  { name: '描述', key: 'queryDescriptionInfoServiceImpl' },
  { name: '跟进', key: 'queryFollowUpInfoServiceImpl' },
  { name: '通话', key: 'queryCallRecordsInfoServiceImpl' },
  { name: '短信', key: '3' },
  { name: '详细', key: 'queryDetailInfoServiceImpl' }
]
// 房源筛选条件户型
export const houseType = [
  { value: '一室', code: '1'},
  { value: '二室', code: '2'},
  { value: '三室', code: '3'},
  { value: '四室', code: '4'}
]
//　房客类型
export const saleType = [
  { value: '租赁', code: '1' }, 
  { value: '买卖', code: '2' }
]
// 房源客源
export const resourceType = [
  { value: '房源', code: '1' },
  { value: '客源', code: '2' }
]
// 通话类型
export const callType = [
  { value: '呼入', code: '1' },
  { value: '呼出', code: '2' }
]
//　房源状态
export const housePublicType = [
  { value: '已确认', code: '001' },
  { value: '暂缓', code: '002' },
  { value: '已确认和暂缓', code: '003' },
  { value: '公盘', code: '004' },
  { value: '私盘', code: '005' },
  { value: '独享', code: '006' },
  { value: '撤单', code: '007' },
  { value: '通知撤单', code: '008' },
  { value: '备案', code: '009' },
  { value: '成租', code: '010' },
  { value: '已租', code: '012' },
  { value: '成交', code: '013' },
  { value: '已售', code: '014' },
  { value: '重点房源', code: '015' },
  { value: '垃圾', code: '016' }
]
//　客源状态
export const customerPublicType = [
  { value: '有效', code: '001' },
  { value: '暂缓', code: '002' },
  { value: '有效和暂缓', code: '003' },
  { value: '垃圾', code: '004' },
  { value: '待确认', code: '005' },
  { value: '驳回', code: '006' },
  { value: '撤单', code: '007' },
  { value: '通知撤单', code: '008' },
  { value: '成交', code: '009' },
  { value: '公客', code: '010' },
  { value: '私客', code: '012' },
  { value: '独享', code: '013' },
  { value: '重点客源', code: '014' },
  { value: '店淘', code: '015' },
  { value: '无', code: '016' }
]

// 上传图片房源类型
export const houseSourceType = [
  { value: '户型图', code: '1001' },
  { value: '卧 室', code: '1002' },
  { value: '客厅', code: '1003' },
  { value: '卫生间', code: '1004' },
  { value: '厨房', code: '1005' },
  { value: '阳台', code: '1006' },
  { value: '其他', code: '1007' },
  { value: '无', code: '1008' }
]
// 选择推送的内容
export const pullFriendType = [
  { value: '房客源信息', code: '1001' },
  { value: '描述', code: '1002' },
  { value: '跟进', code: '1003' },
  { value: '通话', code: '1004' }
]
// 选择推送人
export const pullFriendName = [
  { value: '张无忌1', code: '1001' },
  { value: '李小龙2', code: '1002' },
  { value: '张无忌3', code: '1003' },
  { value: '李小龙4', code: '1004' },
  { value: '张无忌5', code: '1005' },
  { value: '李小龙6', code: '1006' },
  { value: '张无忌7', code: '1007' },
  { value: '李小龙8', code: '1008' },
  { value: '张无忌9', code: '1009' },
  { value: '李小龙10', code: '1010' },
  { value: '张无忌11', code: '1011' },
  { value: '张无忌12', code: '1012' },
  { value: '李小龙13', code: '1013' }
]

//详情操作
export const detailOperating = [
  { value: '操作', event: 'handleTap',icon: 'xiangqing'},
  // { value: '记录', event: 'recordTap' },
  { value: '短信', event: 'sendMessage',icon: 'shoujian' },
  { value: '拨号', event: 'cancelCallDialog', spareEvent: 'dialQuery',icon: 'dianhua'}
]
// 房源筛选key
export const houseSmall = {
  "面积": "houseAreaStart",
  "租售价": "housePriceStart",
  "楼层": "houseFloorStart"
}
export const houseBig = {
  "面积": "houseAreaEnd",
  "租售价": "housePriceEnd",
  "楼层": "houseFloorEnd"
}
export const houseStart = {
  "拨打时间": "lastCallTimeStart",
  "面积录入时间": "entryTimeStart",
    "推送时间": "createtimeStart"
}
export const houseEnd = {
  "拨打时间": "lastCallTimeEnd",
  "面积录入时间": "entryTimeEnd",
  "推送时间": "createtimeEnd"
}
// 客源筛选key
export const customerSmall = {
  "需求户型": "customerDescribeStart",
  "需求面积": "customerAreaStart",
  "需求价格": "customerPriceStart"
}
export const customerBig = {
  "需求户型": "customerDescribeEnd",
  "需求面积": "customerAreaEnd",
  "需求价格": "customerPriceEnd"
}
export const customerStart = {
  "录入时间": "entryTimeStart",
  "推送时间": "createtimeStart",
  "最后跟进时间": "followupTimeStart"
}
export const customerEnd = {
  "录入时间": "entryTimeEnd",
  "推送时间": "createtimeEnd",
  "最后跟进时间": "followupTimeEnd"
}
// 模拟电话
export const phoneNumber = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "✻", "0", "＃"]
export const imagePath = 'https://qjimage.oss-cn-beijing.aliyuncs.com'
export const videoPath = 'https://qjvideo.oss-cn-beijing.aliyuncs.com'
export const voicePath = 'https://qjvoice.oss-cn-beijing.aliyuncs.com'

export const bar = [
  { "width": "55" },
  { "width": "50" },
  { "width": "45" },
  { "width": "40" },
  { "width": "35" },
  { "width": "30" },
  { "width": "25" }
]
// 所有电话列表切换tab
export const tab = [{ label: '拨号' }, { label: '通话' }, { label: '短信' }]
// 全局路由
export const tabbarConfig = [
  {
    "active": false,
    "pagePath": "pages/index/index",
    "text": "消息",
    "iconPath": "xiaoxi",
    "selectedIconPath": "xiaoxixuanzhong-PX-",
    "color": "#0aa983"
  },
  {
    "active": true,
    "pagePath": "pages/house_list/index",
    "text": "房源",
    "iconPath": "fangyuan",
    "selectedIconPath": "shouyefangyuanxuanzhong-PX-",
    "color": "#0aa983"
  },
  {
    "active": false,
    "pagePath": "pages/customer_list/index",
    "text": "客源",
    "iconPath": "jieban",
    "selectedIconPath": "keyuanxuanzhong-PX-",
    "color": "#0aa983"
  },
  {
    "active": false,
    "pagePath": "pages/phone_list/index",
    "text": "所有",
    "iconPath": "dianhua",
    "selectedIconPath": "suoyouxuanzhong-PX-",
    "color": "#0aa983"
  },
  {
    "active": false,
    "pagePath": "pages/mine/index",
    "text": "我的",
    "iconPath": "huiyuan",
    "selectedIconPath": "wodexuanzhong-PX-",
    "color": "#0aa983"
  }
]
